<%--
  Created by IntelliJ IDEA.
  User: lixiaodong
  Date: 2018/4/23
  Time: 10:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<jsp:include page="main.jsp"/>

<script type="text/javascript" src="<%=basePath%>js/visitor/index.js"></script>
<script type="text/javascript">
    var visitor_index_app = (function () {
        $(function () {
            layui.use(['laytpl','carousel'], function () {
                _visitor_index_js.laytpl = layui.laytpl;
                _visitor_index_js.carousel = layui.carousel;

                _visitor_index_js.init();
            });
        });
    })();
</script>